package com.kum.websocket.pojo;


import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class fightInfo {
    private String name;
    private String target;
    private String color;
    private String roomId;
    public boolean contrast(fightInfo f){
        return this.name.equals(f.name ) && this.target.equals(f.target)
                && this.color.equals(f.color);
    }
}
